﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NurseStation.DataModels
{
    /// <summary>
    /// NurseDayWork
    /// </summary>
    [SugarTable("NurseDayWork")]
    //转化之后的实体
    public class NurseDayWork
    {
        [SugarColumn(IsPrimaryKey = true, ColumnName = "ID")]

        /// <summary>
        /// 记录时间
        /// </summary>
        public long ID { get; set; }


        [SugarColumn(IsIgnore = true, IsNullable = true)]
        /// <summary>
        /// 字符串格式的ID
        /// </summary>
        public string SID { get; set; }

        /// <summary>
        /// 班次类型
        /// </summary>
        [SugarColumn(IsNullable = true)]
        public string WORKTYPE { get; set; }

        /// <summary>
        /// 护士名字
        /// </summary>
        [SugarColumn(IsNullable = true)]
        public string NURSENAME { get; set; }

        /// <summary>
        /// 显示记录时间
        /// </summary>
        public DateTime RECORD_TIME { get; set; }

        [SugarColumn(IsNullable = true)]
        /// <summary>
        /// 显示记录时间
        /// </summary>
        public string GROUPNAME { get; set; }

        /// <summary>
        /// 是否合计行
        /// </summary>
        public int? IS_SUM { get; set; }

        [SugarColumn(IsNullable = true)]
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CREATE_TIME { get; set; }


        [SugarColumn(IsNullable = true)]
        public string C1 { get; set; }
        [SugarColumn(IsNullable = true)]
        public string C2 { get; set; }
        [SugarColumn(IsNullable = true)]
        public string C3 { get; set; }
        [SugarColumn(IsNullable = true)]
        public string C4 { get; set; }
        [SugarColumn(IsNullable = true)]
        public string C5 { get; set; }
        [SugarColumn(IsNullable = true)]
        public string C6 { get; set; }
        [SugarColumn(IsNullable = true)]
        public string C7 { get; set; }
        [SugarColumn(IsNullable = true)]
        public string C8 { get; set; }
        [SugarColumn(IsNullable = true)]
        public string C9 { get; set; }
        [SugarColumn(IsNullable = true)]
        public string C10 { get; set; }
        [SugarColumn(IsNullable = true)]
        public string C11 { get; set; }
        [SugarColumn(IsNullable = true)]
        public string C12 { get; set; }
        [SugarColumn(IsNullable = true)]
        public string C13 { get; set; }
        [SugarColumn(IsNullable = true)]
        public string C14 { get; set; }
        [SugarColumn(IsNullable = true)]
        public string C15 { get; set; }
        [SugarColumn(IsNullable = true)]
        public string C16 { get; set; }
        [SugarColumn(IsNullable = true)]
        public string C17 { get; set; }
        [SugarColumn(IsNullable = true)]
        public string C18 { get; set; }
        [SugarColumn(IsNullable = true)]
        public string C19 { get; set; }
        [SugarColumn(IsNullable = true)]
        public string C20 { get; set; }
        [SugarColumn(IsNullable = true)]
        public string C21 { get; set; }
        [SugarColumn(IsNullable = true)]
        public string C22 { get; set; }
        [SugarColumn(IsNullable = true)]
        public string C23 { get; set; }
        [SugarColumn(IsNullable = true)]
        public string C24 { get; set; }
        [SugarColumn(IsNullable = true)]
        public string C25 { get; set; }

        [SugarColumn(IsNullable = true)]
        public string C26 { get; set; }
        [SugarColumn(IsNullable = true)]
        public string C27 { get; set; }
        [SugarColumn(IsNullable = true)]
        public string C28 { get; set; }
        [SugarColumn(IsNullable = true)]
        public string C29 { get; set; }
        [SugarColumn(IsNullable = true)]
        public string C30 { get; set; }

        [SugarColumn(IsNullable = true)]
        public string C31 { get; set; }

        [SugarColumn(IsNullable = true)]
        public string C32 { get; set; }

        [SugarColumn(IsNullable = true)]
        public string C33 { get; set; }

        [SugarColumn(IsNullable = true)]
        public string C34 { get; set; }

        [SugarColumn(IsNullable = true)]
        public string C35 { get; set; }

        [SugarColumn(IsNullable = true)]
        public string C36 { get; set; }

        [SugarColumn(IsNullable = true)]
        public string C37 { get; set; }


        [SugarColumn(IsNullable = true)]
        public string C38 { get; set; }


        [SugarColumn(IsNullable = true)]
        public string C39 { get; set; }


        [SugarColumn(IsNullable = true)]
        public string C40 { get; set; }

        /// <summary>
        /// 编辑前数据
        /// </summary>
        [SugarColumn(IsIgnore =true)]
        public string BeforeText { get; set; }
        
        /// <summary>
        /// 编辑行
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public string CurEditCol { get; set; }



    }
}